package alp.starcode.edms.db.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 专家表
 * </p>
 *
 * @author Clxini
 * @since 2025-07-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("expert")
@ApiModel(value="Expert对象", description="专家表")
public class Expert implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "专家ID")
    @TableId(value = "expert_id", type = IdType.INPUT)
    private String expertId;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "详细单位")
    private String detailUnit;

    @ApiModelProperty(value = "职称（教授、副教授、讲师）")
    private String title;

    @ApiModelProperty(value = "职级（院士、全国知名专家，高级专业技术职称专家，其他专家）")
    private String level;

    @ApiModelProperty(value = "领域")
    private String field;

    @ApiModelProperty(value = "评分")
    private BigDecimal score;

    @ApiModelProperty(value = "身份证号码")
    private String idCard;

    @ApiModelProperty(value = "银行卡账号")
    private String bankAccount;

    @ApiModelProperty(value = "开户行")
    private String bankName;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "是否删除（0-未删除，1-已删除）")
    private Boolean isDeleted;

    @ApiModelProperty(value = "创建用户ID")
    @TableField(fill = FieldFill.INSERT)
    private String createUserId;

    @ApiModelProperty(value = "创建用户名称")
    @TableField(fill = FieldFill.INSERT)
    private String createUserName;

    @ApiModelProperty(value = "创建时间（时间戳）")
    @TableField(fill = FieldFill.INSERT)
    private Long createTime;

    @ApiModelProperty(value = "修改用户ID")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateUserId;

    @ApiModelProperty(value = "修改用户名称")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateUserName;

    @ApiModelProperty(value = "修改时间（时间戳）")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateTime;


}
